package com.dragon.modules.yuegou.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.annotation.Nullable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 
 * @author xbd
 *
 */
@ApiModel(description = "商户聚合支付收款配置请求")
public class AggPaySettingRequest {
	
	@NotEmpty
	@ApiModelProperty(value="商户ID",required = true)
	private String merchantId;
	
	@NotNull
	@ApiModelProperty(value="是否开启悦卡支付",required = true)
	private Boolean isYuecardOpen;
	
	@Nullable
	@ApiModelProperty(value="悦卡手续费比例 默认5% 开启悦卡支付时必填")
	private BigDecimal yuecardProportion;
	
	@NotNull
	@ApiModelProperty(value="是否开启微信支付",required = true)
	private Boolean isWxpayOpen;
	
	@Nullable
	@ApiModelProperty(value="微信子商户号 开启微信支付时必填")
	private String subMchId;
	
	@Nullable
	@ApiModelProperty(value="微信支付手续费比例 开启微信支付时必填")
	private BigDecimal wxProportion;
	
	@NotNull
	@ApiModelProperty(value="是否开启支付宝支付",required = true)
	private Boolean isAlipayOpen;
	
	@Nullable
	@ApiModelProperty(value="支付宝商户pid  开启支付宝支付时必传")
	private String aliMerchantPid;
	
	@Nullable
	@ApiModelProperty(value="商户授权token 开启支付宝支付时必传")
	private String aliAppAuthToken;
	
	@Nullable
	@ApiModelProperty(value="支付宝手续费比例 比如千分之六")
	private BigDecimal aliProportion;

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	public Boolean getIsYuecardOpen() {
		return isYuecardOpen;
	}

	public void setIsYuecardOpen(Boolean isYuecardOpen) {
		this.isYuecardOpen = isYuecardOpen;
	}

	public Boolean getIsWxpayOpen() {
		return isWxpayOpen;
	}

	public void setIsWxpayOpen(Boolean isWxpayOpen) {
		this.isWxpayOpen = isWxpayOpen;
	}

	public String getSubMchId() {
		return subMchId;
	}

	public void setSubMchId(String subMchId) {
		this.subMchId = subMchId;
	}

	public BigDecimal getWxProportion() {
		return wxProportion;
	}

	public void setWxProportion(BigDecimal wxProportion) {
		this.wxProportion = wxProportion;
	}

	public Boolean getIsAlipayOpen() {
		return isAlipayOpen;
	}

	public void setIsAlipayOpen(Boolean isAlipayOpen) {
		this.isAlipayOpen = isAlipayOpen;
	}

	public String getAliMerchantPid() {
		return aliMerchantPid;
	}

	public void setAliMerchantPid(String aliMerchantPid) {
		this.aliMerchantPid = aliMerchantPid;
	}

	public String getAliAppAuthToken() {
		return aliAppAuthToken;
	}

	public void setAliAppAuthToken(String aliAppAuthToken) {
		this.aliAppAuthToken = aliAppAuthToken;
	}

	public BigDecimal getAliProportion() {
		return aliProportion;
	}

	public void setAliProportion(BigDecimal aliProportion) {
		this.aliProportion = aliProportion;
	}

	public BigDecimal getYuecardProportion() {
		return yuecardProportion;
	}

	public void setYuecardProportion(BigDecimal yuecardProportion) {
		this.yuecardProportion = yuecardProportion;
	}
}
